home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / spiele / publicdomain / amigamud-tt / mystuff / lockers.doc < prev    next >
Text File  |  1996-07-08  |  1KB  |  45 lines

  1. Name    : Lockers.m
  2. Author  : Tak Tang   tst92@ecs.soton.ac.uk
  3. Date    : 7/7/96
  4.  
  5.  
  6. Introduction
  7.  
  8.     I wanted somewhere to put my things, such as a locker room, or a hotel,
  9. but there wasnt anything.  This was partly a learning exercise, but can
  10. still be useful.  Each player can leave stuff here, and collect it later.
  11.  
  12.  
  13. Installation
  14.  
  15.     Log in a SysAdmin, source the file.  Go somewhere, and in
  16. wizard mode, type
  17.  
  18.     use t_util.
  19.     MakeLocker( <room> ).
  20.  
  21. If you supply a nil room, it will default to Here().  You can use
  22. "HELP" to get a list of commands, "CHECK" to see what you have
  23. stored here, "CHECKIN" to store an object, "CHECKOUT" to retireve
  24. an object.
  25.  
  26.  
  27. To do
  28.  
  29.     Place a limit on the number of items you can store.  Check to
  30. see that quest items are not stored here.  Charge for storage.
  31.  
  32.  
  33. Notes
  34.  
  35.     Originally, I wanted to make a locker object, which you could
  36. put things in, take things out of, and look in.  Then I ran into
  37. trouble with the verb checkers.  If you look in an object with a
  38. p_oContents list, then the contents are displayed, ignoring the
  39. checker.  As you need to seperate peoples things, so they only see
  40. their things, you would have to make the object not have a
  41. p_oContents, keeping track of stored items through a checker. 
  42. However, if you put something into an object without a p_oContents,
  43. it says you cant, whithout going through the checker.
  44.  
  45.